# CMake 最低版本号要求
cmake_minimum_required (VERSION 2.8)

set(prj simulateClient)
# 项目信息
project (${prj} CXX)


# 查找当前目录下的所有源文件
# 并将名称保存到 DIR_SRCS 变量
#file(GLOB_RECURSE SRCS2  ${PROJECT_SOURCE_DIR} "../com/*.cpp")
file(GLOB_RECURSE SRCS  ${PROJECT_SOURCE_DIR} "*.cpp")
# 指定生成目标
ADD_EXECUTABLE(${prj} ${SRCS})

#设置依赖
#ADD_DEPENDENCIES(svr_util cevent_cpp com)



target_link_libraries(${prj} svr_util cevent_cpp com lua 
libprotobuf.a 
libprotobuf-lite.a 
libprotoc.a 
dl)


